package com.netx.generics.basic;

public class RuntimeErrorListException extends RuntimeException {

	private final ErrorList _el;
	
	public RuntimeErrorListException(ErrorList el) {
		super();
		Checker.checkNull(el, "el");
		_el = el;
	}

	public ErrorList getContents() {
		return _el;
	}
	
	public String getMessage() {
		return _el.toString();
	}

}
